package com.tutucms.service.auth;

/**
 * Created by wangxudong on 2020/10/28.
 *
 * @version: 1.0
 * @modified :
 */
public interface UserContextCache {

    void set(String key, Object value, long expire);

    <T> T get(String key, Class<T> clazz);

    <T> T get(String key, Class<T> clazz, long expire);

    void delete(String key);
}
